package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 首页轮播广告实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_home_adv")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsHomeAdvEntity对象", description = "首页轮播广告")
public class SmsHomeAdvEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "名字")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "图片地址")
    @TableField("pic")
        private String pic;

        @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
        private Date startTime;

        @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
        private Date endTime;

        @ApiModelProperty(value = "状态")
    @TableField("status")
        private Boolean status;

        @ApiModelProperty(value = "点击数")
    @TableField("click_count")
        private Integer clickCount;

        @ApiModelProperty(value = "广告详情连接地址")
    @TableField("url")
        private String url;

        @ApiModelProperty(value = "备注")
    @TableField("note")
        private String note;

        @ApiModelProperty(value = "排序")
    @TableField("sort")
        private Integer sort;

        @ApiModelProperty(value = "发布者")
    @TableField("publisher_id")
        private Long publisherId;

        @ApiModelProperty(value = "审核者")
    @TableField("auth_id")
        private Long authId;

        }